<?php
$this->breadcrumbs=array(
	'Bt Batteries'=>array('admin'),
	$model->RECORD_ID,
);
?>

<div id="page-header">
	<h1><?php echo "查看".$this->moduleName."  ".$model->RECORD_ID; ?></h1>
</div>

<div id="page-options">
<?php $this->renderPartial('_menu',array(
'model'=>$model,
)); ?>
</div>

<section class="grid_9" id="dashtabs">
<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
//		'RECORD_ID',
		array(
			'name' => 'BASE_N',
			'type' => 'raw',
			'value' => $model->base->BASE_NAME,
		),	
		'GROUPNAME_V',
		array(
					'name' => 'MANCODE_V',
					'type' => 'raw',
					'value' => $model->dictmanufacturer->MANNAME_V,
		),
		array(
			'name' => 'BATTERYTYPE_V',
			'type' => 'raw',
			'value' => $model->dictbattery->BATTERYTYPE_V,
		),	
			
		array(
				'name' => 'BASE_TYPE',
				'type' => 'raw',
				'value' => $model->bttype->BASE_TYPE,
		),
			
		'BATTERYNUM_N',
		'SETUP_D',
		//'CREATE_USERID',
		//'INSTALL_TIME',
		//'STATUS_N',
			array(
					'name' => 'STATUS_N',
					'type' => 'raw',
					'value' => $model->STATUS_N == 1 ? "黄色" : ($model->STATUS_N == 0 ? "绿色" : "红色"),			
			),								
		//'CURVAL_N',
		//'CURINNER_N',
		//'CUR_ELECTRIC_N',
		//'CUR_HL_INNER_N',
		//'FORCASTVOLUME_N',
		//'TESTVOLUME_N',
		//'POWERSUPPLY_N',
		//'BACKLOAD_N',
		'REMARK_V',
	),
    'cssFile'=> Yii::app()->request->baseUrl.'/css/widgets/cdetailview.css',
)); ?>
</section>